package org.sang.dao;

import org.sang.beans.Role;
import org.sang.beans.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {

    User loadUserByUsername(String username);
    List<Role> getRolesByHrId(Long id);
    List<User> getUserByKeywords(@Param("keywords")String keywords);
    int updateUser(User user);


}
